package org.dromara.app.domain.bo;

import org.dromara.app.domain.SkWithdrawalLog;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 提现信息LOG业务对象 sk_withdrawal_log
 *
 * @author Evacuation
 * @date 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SkWithdrawalLog.class, reverseConvertGenerate = false)
public class SkWithdrawalLogBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 申请提现金额
     */
    @NotNull(message = "申请提现金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long price;

    /**
     * 提现方式
     */
    @NotNull(message = "提现方式不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long type;

    /**
     * 收款码
     */
    @NotBlank(message = "收款码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String image;

    /**
     * 佣金
     */
    @NotNull(message = "佣金不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long commission;

    private Long userId;


}
